<!DOCTYPE html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>

<style>
:root { --bgcolor: green; background: 10px var(--bgcolor); }
</style>
<script>
var test = test(function() {
  document.write(document.styleSheets[0].cssRules[0].cssText)
}, 'shorthand variable references can be serialized');

</script>
